from settiings import db

class RentRecord(db.Model):
    __tablename__ = 'rent_record'
    id = db.Column(db.Integer, primary_key=True)
    username = db.Column(db.String(127))
    house_id = db.Column(db.Integer)
    rent_start_time = db.Column(db.DateTime)
    rent_end_time = db.Column(db.DateTime)
    total_price = db.Column(db.Integer)
